package com.dragon.common.spring.annotations;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author Chris Chan
 * Create on 2021/12/25 12:21
 * Use for: 用于标记模块间服务代表
 * Explain:
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Delegate {
    @AliasFor(
            annotation = Component.class
    )
    String value() default "";
}
